package net.wanglu.www.zzz.service.se.nsubj;

import net.wanglu.www.zzz.service.se.__Tuple;

import org.apache.commons.lang3.text.StrBuilder;

import edu.stanford.nlp.trees.Tree;
import edu.stanford.nlp.trees.TreeGraphNode;

public abstract class _NSubjTuple extends __Tuple {

	protected TreeGraphNode subj;
	protected TreeGraphNode verb;
	protected TreeGraphNode aux;
	protected TreeGraphNode cop;
	
	protected Tree subjectAncestor;
	protected Tree verbAncestor;
	public TreeGraphNode getSubj() {
		return subj;
	}
	public void setSubj(TreeGraphNode subj) {
		this.subj = subj;
	}
	public TreeGraphNode getVerb() {
		return verb;
	}
	public void setVerb(TreeGraphNode verb) {
		this.verb = verb;
	}
	public Tree getSubjectAncestor() {
		return subjectAncestor;
	}
	public void setSubjectAncestor(Tree subjectAncestor) {
		this.subjectAncestor = subjectAncestor;
	}
	public Tree getVerbAncestor() {
		return verbAncestor;
	}
	public void setVerbAncestor(Tree verbAncestor) {
		this.verbAncestor = verbAncestor;
	}	
	public TreeGraphNode getAux() {
		return aux;
	}
	public void setAux(TreeGraphNode aux) {
		this.aux = aux;
	}
	public TreeGraphNode getCop() {
		return cop;
	}
	public void setCop(TreeGraphNode cop) {
		this.cop = cop;
	}
	@Override
	public Object customize() throws Exception {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		sb.clear();
		sb.append("subj:").append(this.subj).append("\n");
		sb.append("verb:").append(this.verb).append("\n");
		sb.append("aux:").append(this.aux).append("\n");
		sb.append("cop:").append(this.cop).append("\n");
		sb.append("subjectAncestor:").append(this.subjectAncestor).append("\n");
		sb.append("verbAncestor:").append(this.verbAncestor);
		return sb.toString();
	}
}
